package com.vincent.sciinfo.service;

import com.vincent.sciinfo.pojo.Teacher;
import java.util.List;

public interface TeacherService {

    //根据id查询教师
    List<Teacher> selectTeacherById(String userId);

    //更改教师信息
    void updateTeacher(Teacher teacher);

    //更改教师参与会议
    int updateTeacherMeetingById(String teacher_id, int newMeetingId);

    //查看所有参与该会议的教师
    List<Teacher> getNameByMeetingId(int meetingid);

    //添加教师
    int insertTeacher(Teacher teacher);

    //查询所有教师
    List<Teacher> selectAllTeacher();

    //更改教师状态
    int updateTeacher(String teacherId, int opeaCode);

    //查询所有非注销状态的教师
    List<Teacher> selectTeacherNotLogOut(int status);

}
